package com.jiejie.service;

import com.jiejie.commons.ServerResponse;
import com.jiejie.entity.Comments;
import com.baomidou.mybatisplus.extension.service.IService;
import com.jiejie.entity.Customer;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 辰广
 * @since 2022-10-05
 */
public interface ICommentsService  {
    Map<Comments, Customer> getCommentsByMovieId(Integer movieId);
    Float getAllCommentsScore(Integer movieId);
    ServerResponse saveComment(Comments comments);
    public List<Comments> getCommentsByMovieIdForXQ(Integer movieId);
}
